package com.lanou.springbootoracle.service;

import com.lanou.springbootoracle.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

public interface DeptService {
    List<Dept> findAll();

    Dept findById(Integer deptno);

    int save(Dept dept);

    int delete(Integer deptno);

    int update(Dept dept);


}
